From: Bilal Elmoussaoui Date: Wed, 8 Apr 2026 12:02:44 +0000 (+0200) Subject: tests: Don't check value before calling g_free X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~10^2^2~71 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d0e047f2158974aad43ce157aafda77078609caf;p=gnome-shell.git tests: Don't check value before calling g_free It is NULL safe anyways. Part-of: --- diff --git a/src/st/test-theme.c b/src/st/test-theme.c index ab99f558d..51fa06108 100644 --- a/src/st/test-theme.c +++ b/src/st/test-theme.c @@ -78,8 +78,7 @@ assert_font_features (StThemeNode *node, fail = TRUE; } - if (value) - g_free (value); + g_free (value); } static char *